#define _CRT_SECURE_NO_WARNINGS
extern int p, n;
extern int fac(int n);
int c()
{
	int nj, pj, npj;
	nj = fac(n);
	pj = fac(p);
	npj = fac(n - p);
	return nj / (pj * npj);
}